#include "wingame.h"
#include "ui_wingame.h"
#include<QTimer>

wingame::wingame(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::wingame)
{
    ui->setupUi(this);
    wi=new Widget;
    connect(ui->queding,&QPushButton::clicked,[=](){
            this->hide();
            wi->show();
        });
}

wingame::~wingame()
{
    delete ui;
}


void wingame::on_quxiao_clicked()
{
    this->close();
}
